<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学员信息管理系统-注册</title>
    <link rel="stylesheet" href="/static/css/registe.css" type="text/css">
    <%--<link rel="stylesheet" href="css/re2.css">--%>
</head>
<body>
    <div id="header">
        <div id="title1">学员信息管理系统</div>
    </div>
    <div class="tips">
        已有账号， <a href="/login">去登录</a>
    </div>
    <div id="main">
            <div id="title2">
                <div class="topbar clearfix">
                    <a href="javascript:void(0)" class="pRe active" >手机注册</a>
                    <a href="javascript:void(0)" class="eRe" >邮箱注册</a>
                </div>

            </div>
            <div id="container">

                <div id="phone">
                    <form action="/user/save" method="post" class="login-form" id="regForm">
                        <div class="row">
                            <label>姓名：</label>
                            <input type="text" class="name" name="name">
                            <%--<input type="hidden" name="m" value="save">--%>
                            <input type="hidden" name="type" value="3">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>
                        <div class="row">
                            <label>用户名：</label>
                            <input type="text" class="uName" name="userName" id="uNameP">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>
                        <div class="row">
                            <label>密码：</label>
                            <input type="password" class="pwd" name="password" id="pwd">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>
                        <div class="row">
                            <label>确认密码：</label>
                            <input type="password" class="conPwd" name="conPwd">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>
                        <div class="row">
                            <label>手机号：</label>
                            <input type="text" class="pNumber" name="pNumber">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>

                        <div class="row">
                            <label>&nbsp;</label>
                            <div class="tpyzm">
                                <img class="img_code" src="/kaptcha.jpg" alt="验证码">
                                <em>看不清？<a href="javascript:" class="chImage">换一张</a></em>
                            </div>
                        </div>

                        <div class="row">
                            <label>验证码：</label>
                            <input type="text"  class="yzm" name="imgYzm">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>

                        <div class="row">
                            <label>短信验证码：</label>
                            <input type="text" class="sms-code"  name="msgYzm">

                            <%--<div class="u-success u-clear hide clear"></div>--%>

                            <button class="btn btn-getsms" type="button">获取验证码</button>

                        </div>

                        <div class="row" >
                            <label>&nbsp;</label>
                            <div class="agree">
                                <input type="checkbox" name="agree">
                                用户勾选即代表同意《服务条款》和 <a href="javascript:" class="xieyi" style=" color: black; font-size: 15px">《Java工程师卖身协议》</a>
                            </div>
                        </div>
                        <div class="row">
                            <label>&nbsp;</label>
                            <button class="btn btn-reg" type="submit">立即注册</button>
                        </div>
                    </form>
                </div>

                <div id="email" style="display: none;">
                    <form action="javascript:" method="post" class="login-form" id="emailRegForm">
                        <div class="row">
                            <label>用户名：</label>
                            <input type="text" class="uName" name="userName" id="uName2">
                            <input type="hidden" name="type" value="3">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>
                        <div class="row">
                            <label>邮箱号：</label>
                            <input type="text" class="email" name="email">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>
                        <div class="row">
                            <label>验证码：</label>
                            <input type="text"  class="yzm" name="imgYzm" id="imgYzm2">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>

                        <div class="row">
                            <label>&nbsp;</label>
                            <div class="tpyzm">
                                <img class="img_code" src="/kaptcha.jpg" alt="验证码">
                                <em>看不清？<a href="javascript:" class="chImage">换一张</a></em>
                            </div>
                        </div>

                        <div class="row">
                            <label>密码：</label>
                            <input type="password" class="pwd" name="password" id="pwd2">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>

                        <div class="row">
                            <label>确认密码：</label>
                            <input type="password" class="conPwd" name="conPwd">
                            <%--<div class="u-success u-clear hide"></div>--%>
                        </div>

                        <div class="row" >
                            <label>&nbsp;</label>
                            <div class="agree">
                                <input type="checkbox" name="agree">
                                用户勾选即代表同意《服务条款》和 <a href="javascript:" class="xieyi" style=" color: black; font-size: 15px">《Java工程师卖身协议》</a>
                            </div>
                        </div>
                        <div class="row">
                            <label>&nbsp;</label>
                            <button class="btn btn-reg emailReg" type="submit">立即注册</button>
                        </div>
                    </form>
                </div>

            </div>

    </div>
    <div id="footer">
        <p>友情链接：云和数据|集团官网|云和教育|郑州中心|云和教育西安中心|云和教育深圳中心</p>
        <p>Copyright © 2013-2017 云和数据信息技术有限公司</p>
    </div>


    <script src="/static/js/plugins/jquery.js"></script>
    <script src="/static/js/plugins/jq-validate/jquery.validate.min.js"></script>
    <script src="/static/js/plugins/jq-validate/messages_zh.min.js"></script>
    <script src="/static/js/plugins/layer/layer.js"></script>


    <script src="/static/js/registeYz3.js"></script>




    <%--<script>
        var $emailReg = $(".emailReg");
        var $emails = $(".email");
        $emailReg.on('click',function(e){
            e.preventDefault()
            var emails = $emails.val();
            location.href = "/user?m=emailSed&emails="+emails
        })
    </script>--%>
</body>

</html>